package com.cskaoyan.gateway.form.shopping;

public class UpdateShoppingCartForm {

    private Long userId;
    private Long productId;
    private Integer productNum;
    private String checked;

    public UpdateShoppingCartForm(Long userId, Long productId, Integer productNum, String checked) {
        this.userId = userId;
        this.productId = productId;
        this.productNum = productNum;
        this.checked = checked;
    }

    public UpdateShoppingCartForm() {
    }

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public Long getProductId() {
        return productId;
    }

    public void setProductId(Long productId) {
        this.productId = productId;
    }

    public Integer getProductNum() {
        return productNum;
    }

    public void setProductNum(Integer productNum) {
        this.productNum = productNum;
    }

    public String getChecked() {
        return checked;
    }

    public void setChecked(String checked) {
        this.checked = checked;
    }

    @Override
    public String toString() {
        return "UpdateShoppingCartForm{" +
                "userId=" + userId +
                ", productId=" + productId +
                ", productNum=" + productNum +
                ", checked='" + checked + '\'' +
                '}';
    }
}
